package com.wanjl.spring_05_mybatis_spring.mapper;

import com.wanjl.spring_05_mybatis_spring.entity.Tea;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author WanJl
 * @version 1.0
 * @title TeaMapper
 * @description
 * @create 2024/11/1
 */
@Repository
public interface TeaMapper {
    @Select("SELECT * FROM tea")
    List<Tea> selectAll();
}
